<template>
	<view class="page">
		<c-content :top="statusBarHeight" :bottom="safeAreaBottom">
			<view class="wrapper">
				<view class="inner">
					<u-empty icon="/static/success_publish.png" text="发布成功,等待管理员审核">
						<view class="btn-group">
							<view class="btn" @click="goBack(1)">继续发布</view>
							<view class="btn" @click="goBack(2)">返回</view>
						</view>
					</u-empty>
				</view>
			</view>
		</c-content>
	</view>
</template>

<script>
	import mixins from '@/mixins/index.js'
	export default {
		mixins: [mixins],
		data() {
			return {

			}
		},
		methods: {
			goBack(delta) {
				uni.navigateBack({
					delta: delta
				})
			} 
		}
	}
</script>

<style scoped lang="scss">
	.wrapper {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}
.btn-group {
	display: flex;
	align-items: center;
	justify-content: center;
	.btn {
		margin: 20px;
		color: #5ac725;
	}
}
</style>